package net.gdface.face.Entity;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

/**
 * Created by admin on 2018/1/4.
 */

@Entity
public class Att_user {
    @Id(autoincrement = true)
    private Long id;

    private String company;
    private String UserNo;
    private int isOnJob;//0 在职    1 离职
    private String updataTime;
    private int permission;//0 员工   1 管理员

    @Generated(hash = 284988330)
    public Att_user(Long id, String company, String UserNo, int isOnJob,
            String updataTime, int permission) {
        this.id = id;
        this.company = company;
        this.UserNo = UserNo;
        this.isOnJob = isOnJob;
        this.updataTime = updataTime;
        this.permission = permission;
    }

    @Generated(hash = 1746075992)
    public Att_user() {
    }

    @Override
    public String toString(){
        return "Att_user : {"+"id = "+id
                +"   company = "+company
                +"   UserNo = "+UserNo
                +"   isOnJob = "+isOnJob
                +"   updateTime = "+updataTime
                +"   permission = "+permission
                +"}";
    }

    public int getPermission() {
        return this.permission;
    }

    public void setPermission(int permission) {
        this.permission = permission;
    }

    public String getUpdataTime() {
        return this.updataTime;
    }

    public void setUpdataTime(String updataTime) {
        this.updataTime = updataTime;
    }

    public int getIsOnJob() {
        return this.isOnJob;
    }

    public void setIsOnJob(int isOnJob) {
        this.isOnJob = isOnJob;
    }

    public String getUserNo() {
        return this.UserNo;
    }

    public void setUserNo(String UserNo) {
        this.UserNo = UserNo;
    }

    public String getCompany() {
        return this.company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }


}
